interface IProps {
  style: React.CSSProperties;
  children: React.ReactNode; // React.ReactElement
}

const Parent:React.FC<IProps> = (props) => {
  return <div style={props.style}>{props.children}</div>
}

export default Parent